gdkwindow: don't use last_slave for the source device if it is NULL
authorThomas Wood <thomas.wood@intel.com>
Thu, 7 Feb 2013 11:59:31 +0000 (11:59 +0000)
committerThomas Wood <thomas.wood@intel.com>
Tue, 12 Feb 2013 15:30:56 +0000 (15:30 +0000)
commit8568d66a7338f4678d4c3d6cde00e2870c8f38ee
treef1dcd3f2bdab97f84623d2d83e40498eb8284df0
parenta8862727c93f1ffbcf98b28bd7acced9793add2b
gdkwindow: don't use last_slave for the source device if it is NULL

Some backends do not have slave devices, which means last_slave may be
NULL. Use the current device as the source device if last_slave is NULL
when synthesizing a crossing event.

https://bugzilla.gnome.org/show_bug.cgi?id=692411
gdk/gdkwindow.c